package com.xhu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "sale_prediction")
public class SalePrediction {
    /**
     * id
     */
    @TableId(value = "sal_pred_id", type = IdType.AUTO)
    private Integer salPredId;

    /**
     * 预测标题
     */
    @TableField(value = "sal_pred_title")
    private String salPredTitle;

    /**
     * 预测月份
     */
    @TableField(value = "sal_pred_month")
    private String salPredMonth;

    /**
     * 生成时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    /**
     * 最后操作人
     */
    @TableField(value = "sal_pred_operator")
    private String salPredOperator;

    /**
     * 预测结果
     */
    @TableField(value = "sal_result")
    private String salResult;

    /**
     * 预测部门
     */
    @TableField(value = "sal_department")
    private String salDepartment;

    public static final String COL_SAL_PRED_ID = "sal_pred_id";

    public static final String COL_SAL_PRED_TITLE = "sal_pred_title";

    public static final String COL_SAL_PRED_MONTH = "sal_pred_month";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_SAL_PRED_OPERATOR = "sal_pred_operator";

    public static final String COL_SAL_RESULT = "sal_result";

    public static final String COL_SAL_DEPARTMENT = "sal_department";
}